Skip to content

be: read csob's moje info notice from public samples, beside its ceb one - #45

Merged
landsman merged 1 commit into
mainfrom
csob-own
Nov 10, 2026
Merged

landsman merged 1 commit into
mainfrom
csob-own

Conversation

@landsman

Copy link
Copy Markdown
Owner

ČSOB's own internet banking sends "Moje info - Avízo", a template of its own beside CEB's. Read from radekhulan/myinvoice's samples (MIT), samples only like the rest of ČSOB; the signed subject picks it.

  • One transaction, labels on lines of their own, each value under its label.
  • The direction is stated twice, Příchozí / Odchozí in the kind and the amount's sign, and has to agree.
  • Zero padding: the sample's variable symbol is 0009002567593, 13 digits for a field of 10. Only zeros beyond ten are cut (0000002567593 stays 0002567593); myinvoice cuts every leading zero, which would drop zeros that belong to the symbol. Anything else longer than ten is refused.
  • The name's line is pinned: two lines under Název protistrany must come Datum účtování, through a new NotificationLines.requireAt (requireNext is now requireAt(…, 1, …)), tested on its own.

Four breaks each fail a test: the name line not pinned, kind and sign not compared, any excess cut rather than zeros only, the template not chosen by subject. make build: green.

@landsman
landsman merged commit e6b8587 into main Nov 10, 2026
5 checks passed
@landsman
landsman deleted the csob-own branch November 10, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant